package cn.iocoder.ny.module.mall.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.Date;

/**
    * 用户收藏表
    */
@Data
@TableName(value = "mall_user_favorites")
public class MallUserFavorites {

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    /**
     * 用户id
     */
    private Long userId;

    /**
     * 商品id
     */
    @TableField(value = "product_id")
    private Long productId;

    /**
     * 部门id
     */
    @TableField(value = "tenant_id")
    private Long tenantId;

    /**
     * 商城id
     */
    @TableField(value = "mall_id")
    private Long mallId;


    public interface Delete {}

}